; cperl-mode.el: prevent Emacs from "freezing" (Bug#70948)
authorHarald Jörg <haj@posteo.de>
Thu, 16 May 2024 20:22:37 +0000 (22:22 +0200)
committerHarald Jörg <haj@posteo.de>
Thu, 16 May 2024 20:22:37 +0000 (22:22 +0200)
commit54a7268763138fdc63bf81feca99013b01337872
tree11b0e96090ae7ee8eee89fcf54101bf53999d32a
parent96269209a3e22707635239d057be4feac217b4bc
; cperl-mode.el: prevent Emacs from "freezing" (Bug#70948)

* cperl-mode.el (defconst): Replace the rx expression for
`cperl--basic-identifier-rx' with its actual macro expansion.
This makes it efficient under Emacs 29.3, where the expansion
by rx.el could make Emacs freeze with a crafted Perl source
(Bug#70948).
lisp/progmodes/cperl-mode.el